import type { UserConfigExport } from "@tarojs/cli";
export default {
   logger: {
    quiet: false,
    stats: true
  },
  mini: {},
  alias:{
    '@tarojs/taro': '@tarojs/taro-h5',
  },
  h5: {
     webpackChain(chain, webpack){
       chain.devServer.proxy({
         '/api/Patient': {
           target: 'http://120.46.170.54:8801',
           changeOrigin: true,
           // pathRewrite: {
           //   '^/api': ''
           // }
         }
       });
     }
  }
} satisfies UserConfigExport
